let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n109,
                    i =
                    (this && this.__extends) ||
                    ((_n109 = function n(t, e) {
                            return (_n109 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n109(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.HurtValueCom = void 0);
                var r = t('UIComponent'),
                    a = t('PoolMrg'),
                    s = (function(t) {
                        function e() {
                            var o = t.call(this, cc.instantiate(e.HurtValue)) || this;
                            return (o.poolKey = 'HurtValueCom'), o;
                        }
                        return (
                            i(e, t),
                            (e.get = function(t, o) {
                                var n = a.PoolMrg.get('HurtValueCom');
                                return (
                                    null == n && (n = new e()), (n.value = t), (n.isCrit = o), n
                                );
                            }),
                            (e.put = function(t) {
                                a.PoolMrg.put(t.poolKey, t);
                            }),
                            (e.prototype.onInit = function() {
                                (this.view.active = !0),
                                (this._txtLabel = this.view.getComponent(cc.Label));
                            }),
                            (e.prototype.onShow = function() {
                                t.prototype.onShow.call(this);
                                var e = this.view.y + 50,
                                    o = this.view.y + 100;
                                (this.view.scale = 0),
                                (this.view.opacity = 255),
                                this.view.stopAllActions(),
                                    (this._txtLabel.string = this.value.toString()),
                                    cc
                                    .tween(this.view)
                                    .to(0.2, {
                                        scale: 1,
                                        y: e
                                    })
                                    .delay(0.3)
                                    .to(0.2, {
                                        y: o,
                                        opacity: 0
                                    })
                                    .call(this.finish.bind(this))
                                    .start();
                            }),
                            (e.prototype.finish = function() {
                                this.close(), (this.view.parent = null), e.put(this);
                            }),
                            e
                        );
                    })(r.UIComponent);
                (o.HurtValueCom = s), console.log("end");
            module.exports =  e.exports;